package com.inspectortime.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Owner
 * @version 1.0
 * @created 27-Nov-2007 7:40:34 AM
 */
public interface Inspector extends Employee {

	/**
	 * @return this inspector's list of schedule rules
	 */
    public List<ScheduleRule> getScheduleRules();
   
    /**
     * @param scheduleRules the list of schedule rules for this inspector
     */
    public void setScheduleRules(List<ScheduleRule> scheduleRules);
    
    /**
     * @param ruleId id of the scheduleRule to return
     * 
     * @return scheduleRule the rule identified by ruleId
     */
    public ScheduleRule getScheduleRuleById(Serializable ruleId);
	
	public List<Inspection> findInspectionsBetween(Date start, Date end);
	
	int getLimitDrivingPerDayDistance();

	void setLimitDrivingPerDayDistance(int limitDrivingPerDayDistance);
	
	boolean isLimitDrivingPerDay();

	void setLimitDrivingPerDay(boolean limitDrivingPerDay);

}